<template>
	<view class="card">
		<view class="header">
			<view class="name">{{item.admin_name}}</view>
			<view class="day">工时:{{item.days}}</view>
		</view>
		<view class="body">
			{{item.date}}
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			item: {
				type: Object,
				default () {
					return {

					}
				}
			}
		}
		data() {
			return {

			}
		}
	}
</script>

<style lang="less" scoped>
	.card {
		padding: 10rpx 20rpx;

		.header {
			width: 100%;
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-bottom: 20rpx;

			.day {
				font-size: 25rpx;
				color: #929499;
			}

			.name {
				font-size: 35rpx;
				font-weight: 500;
				color: #3d3d43;
			}
		}

		.body {
			color: #929499;
			font-size: 25rpx;
		}
	}
</style>
